<?php
namespace app\common\validate;

use think\Validate;

class Video extends Validate
{
    //游客留言验证
    protected $rule = [
        'title|标题'  =>  'require|length:1,100',
        'prefimg|缩略图' =>  'require',
        'content|通用代码或者内容' =>  'require',
    ];

}